<configuration>
  <nodes configfile="web.config">
    <node path="/configuration/system.webServer" action="insertAfter">
      <system.net>
        <mailSettings>
          <smtp deliveryMethod="specifiedPickupDirectory">
            <specifiedPickupDirectory pickupDirectoryLocation="D:\Tests\TestEmails">
            </specifiedPickupDirectory>
          </smtp>
        </mailSettings>
      </system.net>
    </node>
  </nodes>
</configuration>
